package com.design.principle.compositeAggregate;

/**
 * @program: designPattern
 * @description:
 * @author: STU756
 * @create: 2021-01-19 01:47
 */
public class CopTest {
    public static void main(String[] args) {
        ProductDao productDao = new ProductDao();
        productDao.setConnection(new MyMysqlConnetion());
        productDao.addProduct();
    }
}
